package com.cardbaobao.cardbabyclient.base;

import com.cardbaobao.cardbabyclient.model.PageBean;

/**
 * Description: Base result
 * Created by FHW
 * on 2017/6/21
 */

public class BaseResult<T> {

    private int code;
    private String result;
    private String msg;

    private T data;
    /**
     * page : {"totalResult":3,"pageSize":10,"totalPage":1,"pageNum":1}
     */

    private PageBean page;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }
}
